package com.googlecode.dummywarhead.volatilepenalty;

public final class VolatileCounter implements Counter{

	private volatile long cnt = 0;

	@Override
	public void hit() {
		cnt++;
	}

	@Override
	public long get() {
		return cnt;
	}
	
}
